package com.eric.service;

import cn.dev33.satoken.util.SaResult;
import com.eric.domain.dto.ApplicantDTO;
import com.eric.domain.vo.ApplicantVO;
import com.mybatisflex.core.service.IService;
import com.eric.domain.po.Applicant;

/**
 *  服务层。
 *
 * @author eric.deng
 * @since 2025-03-05
 */
public interface ApplicantService extends IService<Applicant> {

    SaResult saveOne(ApplicantVO applicantVO);

    SaResult updateByIdService(ApplicantDTO applicantDTO);

    SaResult getListByPage(Integer cur, Integer pageSize);

    SaResult getApplicantListByNameService(String name, Integer cur, Integer pageSize);

    SaResult getApplicantListByNameCountService(String name);
}
